package geno.app;

public class MySquare extends MyShape {

	private int width;
	
	public MySquare() {
		width = 0;
	}
	
	public MySquare(int width) {
		this.width = width;
	}
	
	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getArea() {
		return width*width;
	}	
	
	public void draw() {
		System.out.println("Actual class Drawing image.");
		render(this.getClass());
	}
}
